package com.zhihong.entity;

import com.zhihong.annotation.Excel;

import java.io.Serializable;

/**
 * @ClassName BlogVo
 * @Author 庄志宏
 * @Date 2022/8/31 12:31
 */
public class BlogVo implements Serializable {
    /**
     * 文章标题
     */
    private String title;
    /**
     * 文章地址
     */
//    private String url;
    /**
     * @author 庄志宏
     * @date: 2022/9/1 3:57
     * 发布日期
     */
    private String date;
    /**
     * @author 庄志宏
     * @date: 2022/9/1 3:58
     * 阅读数
     */
    private String viewCount;
    /**
     * @author 庄志宏
     * @date: 2022/9/1 3:59
     * 封面图
     */
    private String picture;

    @Excel(colName = "文章标题", sort = 1)
    public String getTitle() {
        return title;
    }
    public void setTitle(String title) {
        this.title = title;
    }


    @Excel(colName = "文章发布日期", sort = 2)
    public String getDate() {
        return date;
    }

    @Excel(colName = "文章阅读数", sort = 3)
    public String getViewCount() {
        return viewCount;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public void setViewCount(String viewCount) {
        this.viewCount = viewCount;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    @Excel(colName = "文章封面图地址", sort = 4)
    public String getPicture() {
        return picture;
    }

}
